package com.gxl.butt.dto.bo;

import com.alibaba.fastjson.JSONObject;

import java.io.Serializable;

/**
 * 封装业务请求对象
 * Created by guoxiaolin on 2018/7/13.
 */
public class Topic implements Serializable{

    private String topicname;//主题名称

    private Integer partitionsum;//分区数量

    private Integer replicationsum;//副本数量

    private String remark;//主题说明文本

    private JSONObject data ;

    private String openid;

    private String token ;

    public String getOpenid() {
        return openid;
    }

    public void setOpenid(String openid) {
        this.openid = openid;
    }

    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }

    public JSONObject getData() {
        return data;
    }

    public void setData(JSONObject data) {
        this.data = data;
    }

    public String getTopicname() {
        return topicname;
    }

    public void setTopicname(String topicname) {
        this.topicname = topicname;
    }

    public Integer getPartitionsum() {
        return partitionsum;
    }

    public void setPartitionsum(Integer partitionsum) {
        this.partitionsum = partitionsum;
    }

    public Integer getReplicationsum() {
        return replicationsum;
    }

    public void setReplicationsum(Integer replicationsum) {
        this.replicationsum = replicationsum;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    @Override
    public String toString() {
        return "Topic{" +
                "topicname='" + topicname + '\'' +
                ", partitionsum=" + partitionsum +
                ", replicationsum=" + replicationsum +
                ", remark='" + remark + '\'' +
                ", data=" + data +
                ", openid='" + openid + '\'' +
                ", token='" + token + '\'' +
                '}';
    }
}
